<script setup lang="ts">
import { ref } from 'vue'
const testColor = ref('red')
</script>

<template>
  <div class="park-building-page">park-building</div>
  <p v-my-color="testColor">通过指令修改DOM文字颜色{{ testColor }}</p>
  <button @click="testColor = 'blue'">点击换色 blue</button>
  <button @click="testColor = 'gold'">点击换色 gold</button>

  <!-- 超级管理员	*:*:* -->
  <button v-auth="'*:*:*'">权限按钮-超级管理员</button>
  <button v-auth="'parking:rule:list'">测试权限按钮1</button>
  <button v-auth="'sys:user:add_edit'">测试权限按钮2</button>
</template>

<style lang="scss" scoped></style>
